package two_xia.ex4._3_1;

public class Client {
    public static void main(String[] args) {
        TV tv;
        TVFactory factory;
        //HisenseTV
        factory = new HisenseTVFactory();
        tv = factory.creatTV();
        tv.play();
        //HaierTV播放中
        factory = new HaierTVFactory();
        tv = factory.creatTV();
        tv.play();
    }
}
